package com.example.base.net

/**
 * 常量池
 */
class Const {
    companion object{
        const val BASE_URL = "http://10.161.9.80:7012/"
        const val LOGIN_URL = "/user/loginjson"
        const val REGISTER_URL = "/user/register"

        const val BANNER_URL = "/banner/json"//轮播图网址
        const val CATE_URL = "/goods/category"//分类网址
        const val GOODS_URL = "/goods/info"//商品列表网址
        const val DETAIL_URL = "/goods/detail"//商品详情网址
        const val ADDCAR_URL = "/goods/addCar"//添加购物车网址
        const val SELECTCAR_URL = "/goods/selectCar"//查询购物车网址
        const val DELETECAR_URL = "/goods/deleteCar"//删除购物车网址

        const val GETCOMMENT_URL = "/comment/getCommentByVideoId"//一级评论网址
        const val GETCHILDCOMMENT_URL = "/comment/getChildCommentByVideoId?currentPage=1&pageSize=10&videoId=12"//二级评论网址

        const val UPDATE_ICON_URL = "/user/updateIcon"//修改头像地址



        const val PARAM_USERNAME = "username"
        const val PARAM_PASSWORD = "password"


    }
}